package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author LinYinDong
 * @date 2024/11/6 下午3:03
 */
@Getter
public enum StatsDayTypeEnum {
    TODAY(0,"今天"),
    YESTERDAY(1, "昨天"),
    THIS_WEEK(2, "本周"),
    THIS_MONTH(3, "本月"),
    LAST_MONTH(4, "上月"),
    THIS_YEAR(5, "今年"),
    CUSTOM_TIME(-1, "自定义时间"),;

    private Integer code;
    private String desc;

    StatsDayTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
